package com.aidong.device.entity;

import java.util.Date;

public class ExLog {
    private String code;
    private String machineId;
    private int type;
    private int goodId;
    private int amount;
    private Date createdAt;

    public ExLog() {
    }

    public ExLog(String code, String machineId, int type, int goodId, int amount) {
        this.code = code;
        this.machineId = machineId;
        this.type = type;
        this.goodId = goodId;
        this.amount = amount;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public int getAmount() {
        return amount;
    }

    public void setAmount(int amount) {
        this.amount = amount;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public int getGoodId() {
        return goodId;
    }

    public void setGoodId(int goodId) {
        this.goodId = goodId;
    }

    public String getMachineId() {
        return machineId;
    }

    public void setMachineId(String machineId) {
        this.machineId = machineId;
    }

    public int getType() {
        return type;
    }
}
